﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Clinica/MasterPageHospitalizacion.master" AutoEventWireup="true" CodeFile="wfCama.aspx.cs" Inherits="Ventas_wfCama" %>

<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>

<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentMenuSecundario" Runat="Server">
    <li><a href="wfCamaListado.aspx" class="active">Cama</a></li>
    <li><a href="wfAdmisionHospitalizacionListado.aspx" class="">Admisión Hospitalización</a></li>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ModuleTitleContent" Runat="Server">
    Cama
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentEnlacesRapidos" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <ul class="tabs primary">
                <li><a href="wfCamaListado.aspx">Listado de Camas</a></li>
                <li class="active"><a href="wfCama.aspx" class="">Registrar Cama</a></li>
            </ul>
            <h4>Registrar Cama</h4>
            <table width="99%">
                <tr>
                    <td>
                        <dx:ASPxPanel ID="ASPxPanel1" runat="server" Width="99%">
                            <PanelCollection>
                                <dx:PanelContent ID="PanelContent1" runat="server" SupportsDisabledAttribute="True">
                                    <table>
                                        <tr>
                                            <td>
                                                <dx:ASPxButton ID="btnAceptar" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                                                    CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                                                    Text="Aceptar" OnClick="Aceptar">
                                                </dx:ASPxButton>
                                            </td>
                                            <td>
                                                <dx:ASPxButton ID="btnCancelar" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                                                    CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                                                    Text="Cancelar" OnClick="Cancelar">
                                                </dx:ASPxButton>
                                            </td>
                                        </tr>
                                    </table>
                                </dx:PanelContent>
                            </PanelCollection>
                        </dx:ASPxPanel>
                    </td>
                </tr>
            </table>
            <table>
                <tr>
                    <td>
                        <dx:ASPxLabel ID="ASPxLabel1" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                            CssPostfix="PlasticBlue" Text="Código">
                        </dx:ASPxLabel>
                    </td>
                    <td>
                        <dx:ASPxTextBox ID="txtCodCama" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                            CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" MaxLength="5" Width="170px">
                            <ValidationSettings>
                                <ErrorFrameStyle ImageSpacing="4px">
                                    <ErrorTextPaddings PaddingLeft="4px" />
                                </ErrorFrameStyle>
                            </ValidationSettings>
                        </dx:ASPxTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="Tipo Servicio">
                        </dx:ASPxLabel>
                    </td>
                    <td>
                        <dx:ASPxComboBox ID="cboTipoServicio" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                            CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                            
                            <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif"></LoadingPanelImage>
                            <ValidationSettings>
                                <ErrorFrameStyle ImageSpacing="4px">
                                    <ErrorTextPaddings PaddingLeft="4px" />
                                </ErrorFrameStyle>
                            </ValidationSettings>
                        </dx:ASPxComboBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="Tipo Cama"></dx:ASPxLabel>
                    </td>
                    <td>
                        <dx:ASPxComboBox ID="cboTipoCama" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                            CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">

                            <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                            </LoadingPanelImage>
                            <ValidationSettings>
                                <ErrorFrameStyle ImageSpacing="4px">
                                    <ErrorTextPaddings PaddingLeft="4px" />
                                </ErrorFrameStyle>
                            </ValidationSettings>
                        </dx:ASPxComboBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="Servicio Propietario"></dx:ASPxLabel>
                    </td>
                    <td>
                        <dx:ASPxComboBox ID="cboServicioPropietario" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                            CssPostfix="PlasticBlue" 
                            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                            <Items>
                                <dx:ListEditItem Text="Servicio Propietario 1" Value="1" />
                                <dx:ListEditItem Text="Servicio Propietario 2" Value="2" />
                                <dx:ListEditItem Text="Servicio Propietario 3" Value="3" />
                                <dx:ListEditItem Text="Servicio Propietario 4" Value="4" />
                                <dx:ListEditItem Text="Servicio Propietario 5" Value="5" />
                            </Items>
                            <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif"></LoadingPanelImage>
                            <ValidationSettings>
                                <ErrorFrameStyle ImageSpacing="4px">
                                    <ErrorTextPaddings PaddingLeft="4px" />
                                </ErrorFrameStyle>
                            </ValidationSettings>
                        </dx:ASPxComboBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <dx:ASPxLabel ID="ASPxLabel5" runat="server" Text="Ubicación Actual"></dx:ASPxLabel>
                    </td>
                    <td>
                        <dx:ASPxComboBox ID="cboUbicActual" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                            CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                            <Items>
                                <dx:ListEditItem Text="Ubicación Actual 1" Value="1" />
                                <dx:ListEditItem Text="Ubicación Actual 2" Value="2" />
                                <dx:ListEditItem Text="Ubicación Actual 3" Value="3" />
                                <dx:ListEditItem Text="Ubicación Actual 4" Value="4" />
                                <dx:ListEditItem Text="Ubicación Actual 5" Value="5" />
                            </Items>
                            <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif"></LoadingPanelImage>
                            <ValidationSettings>
                                <ErrorFrameStyle ImageSpacing="4px">
                                    <ErrorTextPaddings PaddingLeft="4px" />
                                </ErrorFrameStyle>
                            </ValidationSettings>
                        </dx:ASPxComboBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <dx:ASPxLabel ID="ASPxLabel6" runat="server" Text="Estado"></dx:ASPxLabel>
                    </td>
                    <td>
                        <dx:ASPxComboBox ID="cboEstadoCama" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                            CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">

                            <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                            </LoadingPanelImage>
                            <ValidationSettings>
                                <ErrorFrameStyle ImageSpacing="4px">
                                    <ErrorTextPaddings PaddingLeft="4px" />
                                </ErrorFrameStyle>
                            </ValidationSettings>
                        </dx:ASPxComboBox>
                    </td>
                    <td>
                        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
                    </td>
                </tr>
                <tr>
                    <td>
                        <dx:ASPxPopupControl ID="pcMensaje" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                            Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="420px" 
                            AllowDragging="True" AllowResize="True" ClientInstanceName="pcMensaje" DragElement="Window" HeaderText="Mensaje">
                            <HeaderImage Url="~/Imagenes/iconError.png"></HeaderImage>
                            <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif"></LoadingPanelImage>
                            <CloseButtonStyle><Paddings Padding="0px" /></CloseButtonStyle>
                            <ContentStyle><BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" /></ContentStyle>
                            <HeaderStyle><Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" PaddingTop="4px" /></HeaderStyle>

                            <ContentCollection>
                                <dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
                                    <table width="100%">
                                        <tr>
                                            <td style="padding:0 0 0 20px;"  align="center">
                                                <dx:ASPxLabel ID="lblMensaje" runat="server" /><hr />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center">
                                                <dx:ASPxButton ID="ASPxButton1" runat="server" AutoPostBack="False" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                                                    CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Text="Aceptar" Checked="True">
                                                    <ClientSideEvents Click="function(s, e) {pcMensaje.Hide();}"/>
                                                    <CheckedStyle BackColor="#000066" Font-Bold="True" Font-Italic="False" Font-Names="Georgia" Font-Strikeout="False" ForeColor="White"></CheckedStyle>
                                                    <HoverStyle BackColor="#000099" Font-Bold="True" Font-Names="Georgia" ForeColor="White"></HoverStyle>
                                                </dx:ASPxButton>                
                                            </td>
                                        </tr>
                                    </table>
                                </dx:PopupControlContentControl>
                            </ContentCollection>
                        </dx:ASPxPopupControl>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel> 
</asp:Content>

